/* Copyright (c) Huawei Technologies Co., Ltd. 2025-2025. All rights reserved.
 * openUBMC is licensed under Mulan PSL v2.
 * You can use this software according to the terms and conditions of the Mulan PSL v2.
 * You may obtain a copy of Mulan PSL v2 at:
 *          http://license.coscl.org.cn/MulanPSL2
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PSL v2 for more details.
 */

#ifndef __SATA_LOG_PARSE_H__
#define __SATA_LOG_PARSE_H__

#include "sata_seagate_log_parse.h"

#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif
#endif /* __cplusplus */

void pd_log_handle_sata_smart(FILE *file, PD_LOG_S *pd_log, void *out_put);
void pd_log_handle_sata_error(FILE *file, PD_LOG_S *pd_log, void *out_put, Json *pd_log_jso);
void pd_log_handle_sata_ext_error(FILE *file, PD_LOG_S *pd_log, void *out_put, Json *pd_log_jso);
void pd_log_handle_sata_ext_self_test(FILE *file, PD_LOG_S *pd_log, void *out_put, Json *pd_log_jso);
void pd_log_handle_sata_phy_event(FILE *file, PD_LOG_S *pd_log, void *out_put, Json *pd_log_jso);

#ifdef __cplusplus
#if __cplusplus
}
#endif
#endif /* __cplusplus */

#endif /* __SATA_LOG_PARSE_H__ */
